package hcn.protocol.registration.xml.req;

import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;

/**
 * 科室信息查询-消息请求
 *
 * @author Qulc - 2023/2/3 14:02
 */
@XmlRootElement(name = "MsgBody")
public class DeptRequest {
    /**
     * 请求参数集
     */

    private Query query;

    @XmlElement(name = "Query")
    public Query getQuery() {
        return query;
    }

    public void setQuery(Query query) {
        this.query = query;
    }

    @XmlRootElement(name = "Query")
    public static class Query {

        /**
         * 医疗机构组织机构代码
         */
        private String visitOrganization;
        /**
         * 最后修改时间
         */
        private String lastModifyTime;
        /**
         * 挂号科室代码
         */
        private String deptCode;
        /**
         * 门诊类别
         */
        private int outpatientType;

        @XmlElement(name = "VisitOrganization")
        public String getVisitOrganization() {
            return visitOrganization;
        }

        public void setVisitOrganization(String visitOrganization) {
            this.visitOrganization = visitOrganization;
        }

        @XmlElement(name = "LastModifyTime")
        public String getLastModifyTime() {
            return lastModifyTime;
        }

        public void setLastModifyTime(String lastModifyTime) {
            this.lastModifyTime = lastModifyTime;
        }

        @XmlElement(name = "DeptCode")
        public String getDeptCode() {
            return deptCode;
        }

        public void setDeptCode(String deptCode) {
            this.deptCode = deptCode;
        }

        @XmlElement(name = "OutpatientType")
        public int getOutpatientType() {
            return outpatientType;
        }

        public void setOutpatientType(int outpatientType) {
            this.outpatientType = outpatientType;
        }
    }


}
